package com.wish.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.dto.PageRoomStatusDto;
import com.wish.dto.RoomInfoDto;
import com.wish.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 闫东浩
 * @since 2021-03-29
 */
public interface IRoomInfoService extends IService<RoomInfo> {

    Page<RoomInfo> getList(QueryWrapper<RoomInfo> wrapper, Page<RoomInfo> page);

    /*void updateRecommended(List<RoomInfo>roomInfoList);*/
    Map<String, Object> roomStatusList(PageRoomStatusDto pageRoomStatusDto);
}
